package com.sls.game.dao.wogreat;

import java.util.List;

import com.sls.game.page.Pagination;
import com.sls.game.pojo.wogreat.WogreatProduct;

public interface WogreatDAO {

	/**
	 * 插入产品信息
	 * 
	 * @param product
	 */
	public void insertProduct(WogreatProduct product);

	/**
	 * 修改产品信息
	 * 
	 * @param product
	 */
	public void update(WogreatProduct product);

	/**
	 * 查询
	 * 
	 * @param id
	 * @return
	 */
	public WogreatProduct queryById(String id);

	/**
	 * 通过产品编号查询
	 * 
	 * @param proId
	 * @return
	 */
	public WogreatProduct queryByProId(String proId);

	/**
	 * 分页查询
	 * 
	 * @param product
	 * @return
	 */
	public Pagination<WogreatProduct> queryPage(WogreatProduct product);

	/**
	 * 查询所有信息
	 * 
	 * @param product
	 * @return
	 */
	public List<WogreatProduct> queryAllWoInfo(WogreatProduct product);

}
